翻訳と辞書
Words near each other
・ Holler Back (song)
・ Holler Blues
・ Holler House
・ Holler If Ya Hear Me
・ Holler If Ya Hear Me (musical)
・ Holler, Germany
・ Holler, Luxembourg
・ Hollerado
・ Hollerbach
・ Hollerbach (Brensbach)
・ Hollerbornbach
・ Hollergraben
・ Hollerich
・ Hollerich railway station
・ Hollerich-Bonnevoie
Hollerith constant
・ Hollern
・ Hollern-Twielenfleth
・ Hollersbach im Pinzgau
・ Hollertoppen
・ Holles
・ Hollesley
・ Hollesley Bay
・ Hollesley Bay (Suffolk)
・ Holless Wilbur Allen
・ Holleton Important Bird Area
・ Hollett
・ Holleville RH.1 Bambi
・ Holley
・ Holley (surname)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Hollerith constant : ウィキペディア英語版
Hollerith constant

Hollerith constants, named in honor of Herman Hollerith, were used in early FORTRAN programs to allow manipulation of character data.
Early FORTRAN had no CHARACTER data type, only numeric types. In order to perform character manipulation, characters needed to be placed into numeric variables via Hollerith constants. For example the constant 3HABC specified a three-character string 'ABC'. These constants were ''typeless'', so that there were no type conversion issues. If the constant specified fewer characters than was possible to hold in a data item, the characters were then stored in the item ''left-justified'' and ''blank-filled''.
== Mechanics ==
By the FORTRAN 66 Standard, Hollerith syntax was allowed in the following uses:
* As constants in DATA statements
* As constant actual arguments in subroutine CALL statements
* As edit descriptors in FORMAT statements
Portability was problematic with Hollerith constants. First, word sizes varied on different computer systems, so the number of characters that could be placed in each data item likewise varied. Implementations varied from as few as two to as many as ten characters per word. Second, it was difficult to manipulate individual characters within a word in a portable fashion. This led to a great deal of ''shifting and masking'' code using non-standard, vendor-specific, features. The fact that character sets varied between machines also complicated the issue.
Some authors were of the opinion that for best portability, only a single character should be used per data item. However considering the small memory sizes of machines of the day, this technique was considered extremely wasteful.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Hollerith constant」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.